﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace CSharpDay05__MVC_Intro_.Models
{
    public class Movie
    {
        public int Id { get; set; }
        public string Title { get; set; }
        public Rating Rating { get; set; }
        public int Year { get; set; }

        public static string ShowInfo()
        {
            return "I am a movie!";
        }
    }

    public enum Rating
    {
        G,
        PG,
        PG13,
        R
    }

    public static class Actor
    {
        public static string Name { get; set; }
    }
}

//Static Class => you cannot inherit from, or instantiate
//Static Prop => You don't need an instance of the class to access it